/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

@import '~antd/es/style/themes/default.less';
@border-base : @border-width-base @border-style-base @normal-color;
@box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
.input {
  width: 245px;
  line-height: 1.5;
  display: inline-block;
  vertical-align: middle;
  :global {
    .ant-dropdown-trigger {
      height: 32px;
      display: block;
      box-sizing: border-box;
      border: @border-base;
      border-radius: @border-radius-base;
      transition: all 0.3s;
      &:hover {
        border-color: @primary-color;
      }
    }
    .ant-input {
      height: 30px;
      border: none !important;
      box-shadow: none !important;
      &[readonly] {
        cursor: pointer;
      }
      &-group-addon {
        border: 0;
        padding: 0;
        background-color: transparent;
        & > a {
          padding: @padding-md;
        }
      }
    }
  }
  &_active {
    :global {
      .ant-dropdown-trigger {
        border-color: @primary-color;
        box-shadow: @box-shadow;
        outline: 0;
      }
    }
  }
}

.title {
  border-bottom: @border-base;
  padding: @padding-md / 2 @padding-md;
}

:global {
  .has-error {
    .ant-dropdown-trigger {
      border-color: @error-color;
    }
  }
}

.text{
  white-space: nowrap;
  display: inline-block;
  padding:@padding-md/2 @padding-md;
}
